package com.haizhi.crm.sys.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Entity
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "t_role")
public class Role implements Serializable {
    @Id
    @Column(name = "id")
    private String id;

    @Column(name = "rolename")
    private String roleName;

//    @ManyToMany(mappedBy = "roles")
//    private List<User> users;
}
